# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH := $(call my-dir)


include $(CLEAR_VARS)

LOCAL_MODULE    := protobuf

LOCAL_SRC_FILES := \
					proto/src/google/protobuf/io/coded_stream.cc                \
                    proto/src/google/protobuf/stubs/common.cc                   \
                    proto/src/google/protobuf/descriptor.cc                     \
                    proto/src/google/protobuf/descriptor.pb.cc                  \
                    proto/src/google/protobuf/descriptor_database.cc            \
                    proto/src/google/protobuf/dynamic_message.cc                \
                    proto/src/google/protobuf/extension_set.cc                  \
                    proto/src/google/protobuf/extension_set_heavy.cc            \
                    proto/src/google/protobuf/generated_message_reflection.cc   \
                    proto/src/google/protobuf/generated_message_util.cc         \
                    proto/src/google/protobuf/io/gzip_stream.cc                 \
                    proto/src/google/protobuf/compiler/importer.cc              \
                    proto/src/google/protobuf/message.cc                        \
                    proto/src/google/protobuf/message_lite.cc                   \
                    proto/src/google/protobuf/stubs/once.cc                     \
                    proto/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc \
					proto/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc \
                    proto/src/google/protobuf/compiler/parser.cc                \
                    proto/src/google/protobuf/io/printer.cc                     \
                    proto/src/google/protobuf/reflection_ops.cc                 \
                    proto/src/google/protobuf/repeated_field.cc                 \
                    proto/src/google/protobuf/service.cc                        \
                    proto/src/google/protobuf/stubs/structurally_valid.cc       \
                    proto/src/google/protobuf/stubs/strutil.cc                  \
                    proto/src/google/protobuf/stubs/substitute.cc               \
                    proto/src/google/protobuf/text_format.cc                    \
                    proto/src/google/protobuf/io/tokenizer.cc                   \
                    proto/src/google/protobuf/unknown_field_set.cc              \
                    proto/src/google/protobuf/wire_format.cc                    \
                    proto/src/google/protobuf/wire_format_lite.cc               \
                    proto/src/google/protobuf/io/zero_copy_stream.cc            \
                    proto/src/google/protobuf/io/zero_copy_stream_impl.cc       \
                    proto/src/google/protobuf/io/zero_copy_stream_impl_lite.cc  \
					proto/src/google/protobuf/stubs/stringprintf.cc		\

LOCAL_C_INCLUDES := $(LOCAL_PATH)             
LOCAL_C_INCLUDES += . \
$(LOCAL_PATH)/proto/src \ 
LOCAL_C_INCLUDES += D:\Compile\MinGW\mingw64\lib\gcc\x86_64-w64-mingw32\7.1.0\include

include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)  
LOCAL_MODULE := test  
LOCAL_MODULE_FILENAME:=libtest  
LOCAL_SRC_FILES :=  test/base.cpp\
					test/epooldemo.cpp\
					test/threadpool.cpp\
					
LOCAL_C_INCLUDES := $(LOCAL_PATH)  
					
include $(BUILD_SHARED_LIBRARY)  
